package com.mtsmda.chapter3.arrayEx;

public class Subaru extends Car{
	
	@Override
	public void getColor() {
		System.out.println("Subaru is white color");
	}
	
	@Override
	public void getCarModel(String modelName) {
		if(modelName == null || modelName.isEmpty()){
			System.out.println("Subaru Outlander");
			return;
		}
		System.out.println("Subaru " + modelName);
	}
	
}